<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page language="java" contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="bean" uri="http://struts.apache.org/tags-bean"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%> 
<html>
<head>
<title><bean:message key="drp.info.inquirydetil"/></title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<link rel="stylesheet" href="assets/css/main.css" />
<script type="text/javascript">
	function topPage() {
		window.self.location = "operation.do?command=inquiry_details&pageNo=${pagemodel.topPageNo}&pageSize=${pagemodel.pageSize}&orderby=${orderby}"
	}
	
	function previousPage() {
		window.self.location = "operation.do?command=inquiry_details&pageNo=${pagemodel.previousPageNo}&pageSize=${pagemodel.pageSize}&orderby=${orderby}"
	}	
	
	function nextPage() {
		window.self.location = "operation.do?command=inquiry_details&pageNo=${pagemodel.nextPageNo}&pageSize=${pagemodel.pageSize}&orderby=${orderby}"
	}
	
	function bottomPage() {
		window.self.location = "operation.do?command=inquiry_details&pageNo=${pagemodel.bottomPageNo}&pageSize=${pagemodel.pageSize}&orderby=${orderby}"
	}
</script>

</head>
<body>
	<section id="info" class="wrapper style1 fullscreen fade-up">
	<div class="inner">
		<h3><bean:message key="drp.info.inquirydetil"/></h3>
		<table width="96%">
			<tr style="background-color: #5E42A6">
				<th width="24%" align=""><bean:message key="drp.info.inquiryusername" /><!-- 用户名 --></th>
				<th width="24%" align=""><bean:message key="drp.info.inquirydetils"/><!-- 交易记录 --></th>
				<th width="24%" align=""><bean:message key="drp.info.inquirytime"/><!-- 交易时间 -->
					&nbsp;<a href="operation.do?command=inquiry_details&amp;pageNo=1&amp;pageSize=5&amp;orderby=desc">&#8673;</a>
					&nbsp;<a href="operation.do?command=inquiry_details&amp;pageNo=1&amp;pageSize=5&amp;orderby=asc">&#8675;</a>
				</th>
				<th width="24%" align=""><bean:message key="drp.info.inquiryuserstate"/><!-- 交易状态 --></th>
			</tr>
	<c:choose>
		<c:when test="${empty pagemodel.list}">
			<td colspan="4"><bean:message key="drp.info.inquiryno"/><!-- 没有符合条件的数据! --></td>
		</c:when>
		<c:otherwise>
			<c:forEach items="${pagemodel.list}" var="s">
			<tr style="background-color: #5E42A6">
				<td width="15%" >${s.username}</td>
				<td width="33%" >${s.transaction_details}</td>
				<td width="24%" >${s.transaction_time}</td>
				<td width="24%" >${s.transaction_state}</td>
			</tr>
			</c:forEach>
		</c:otherwise>
	</c:choose>
		<tr>
		<td>当前第${pagemodel.pageNo}页</td>
		<td>共${pagemodel.totalPages}页</td>
		<td>共${pagemodel.totalRecords}条记录</td>
		</tr>
		</table>
		<td  nowrap class="rd19" width="64%"> <div align="right">
        <input name="btnTopPage" class="button1" type="button" id="btnTopPage" value="|&lt;&lt; "  title="<bean:message key="drp.button.topPage"/>" onClick="topPage()">
        <input name="btnPreviousPage" class="button1" type="button" id="btnPreviousPage" value=" &lt;  "  title="<bean:message key="drp.button.previousPage"/>" onClick="previousPage()">
        <input name="btnNext" class="button1" type="button" id="btnNext" value="  &gt; "  title="<bean:message key="drp.button.nextPage"/>" onClick="nextPage()">
        <input name="btnBottomPage" class="button1" type="button" id="btnBottomPage" value=" &gt;&gt;|"  title="<bean:message key="drp.button.bottomPage"/>" onClick="bottomPage()">
      </div></td>
		<ul class="actions">
			<li><a href="info.jsp" class="button"><bean:message key="drp.button.back"/><!-- 返回 --></a></li>
		</ul>
	</div>
	</section>




</body>
</html>